package demo.service;


import demo.pojo.Book;

import java.util.List;

public interface BookService {
    public Book findBookById(Integer id);

    List<Book> findAllBook();

    void updateBook(Book book);

    void deleteById(Integer id);

    List<Book> searchLike(String name);

    void insertBook(Book book);
}
